Make sure assets in ./vendor are precompiled

Dominik Sander 11 years ago
parent
commit
ed2f8e82d8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      config/environments/production.rb

+ 1 - 0
config/environments/production.rb

@@ -31,6 +31,7 @@ Huginn::Application.configure do
31 31
 
32 32
   # Generate digests for assets URLs
33 33
   config.assets.digest = true
34
+  config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
34 35
 
35 36
   # Specifies the header that your server uses for sending files.
36 37
   # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache